
package org.xteam.sled.ast;

import org.xteam.parser.runtime.Span;

public class SuffixPattern extends AbstractPattern {
	
	
	protected AbstractPattern expr;
	
	public SuffixPattern(Span span, AbstractPattern expr) {
		super(span);
		this.expr = expr;
	}
	
	
	public AbstractPattern getExpr() {
		return expr;
	}
	
	public void setExpr(AbstractPattern expr) {
		this.expr = expr;
	}
	

	public void visit(ISledVisitor visitor) {
		visitor.visitSuffixPattern(this);
	}
}
